package gui.commons;


import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.BorderFactory;
import javax.swing.JPanel;

public class FormPanel extends JPanel {
	
	/*
	 *	Variables declaration
	 *
	 * */
	private ToolbarListener sl;
	Dimension dim = getPreferredSize();
	
	public FormPanel() {
		
		/*
		 * Initializing variables
		 * 
		 * */
		
		
		/*
		 *	setting layout for the Panel
		 *
		 */
		dim.height = 350;
		setPreferredSize(dim);
		
		setLayout(new BorderLayout());
		
		setBorder(BorderFactory.createTitledBorder("ABC Personas"));
	}
	
	//	method to assign a textPanel to the formPanel so the latter will be listened
	public void setStringListener(ToolbarListener sl) {
		this.sl = sl;
	}
}
